<?php
class Register_model extends Model{

	function Register_model(){
		parent::Model();		
	}
    
    /**
     * get list hot news in home
     * @author tien.nguyen
     */
    public function saveInfo(){
    	$data = array();
    	$data['Company'] = $this->input->post('Company');
    	$data['Address'] = $this->input->post('Address');
    	$data['Phone'] = $this->input->post('Phone');
    	$data['Fax'] = $this->input->post('Fax');
    	$data['Email'] = $this->input->post('Email');
    	$data['Website'] = $this->input->post('Website');
    	$data['Representative'] = $this->input->post('Representative');
    	$data['Position'] = $this->input->post('Position');
    	$data['ContactPerson'] = $this->input->post('ContactPerson');
    	$data['ContactPosition'] = $this->input->post('ContactPosition');
    	$data['Mobile'] = $this->input->post('Mobile');
    	$data['Content'] = $this->input->post('Content');
    	return $this->db->insert('register_fastival', $data); 
    }
}